package cj.web.admin.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

/**
 * 订报卡数据
 */
public class KDCard extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 4318077061252402457L;
	protected Integer id;
	protected String cardNum;
	protected String cardPwd;
	protected Integer status;
	protected String memo;
	protected Integer deleteFlag;
	protected java.math.BigDecimal billAmount;
	protected String paperCardName;
	protected String paperName;
	protected String inputBeginAt;
	protected String inputEndAt;
	protected String months;
	protected String beginAt;
	protected String endAt;
	protected String createUser;
	protected String createAt;
	protected String updateUser;
	protected String updateAt;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCardNum() {
		return cardNum;
	}
	public void setCardNum(String cardNum) {
		this.cardNum = cardNum;
	}
	public String getCardPwd() {
		return cardPwd;
	}
	public void setCardPwd(String cardPwd) {
		this.cardPwd = cardPwd;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public java.math.BigDecimal getBillAmount() {
		return billAmount;
	}
	public void setBillAmount(java.math.BigDecimal billAmount) {
		this.billAmount = billAmount;
	}
	public String getPaperCardName() {
		return paperCardName;
	}
	public void setPaperCardName(String paperCardName) {
		this.paperCardName = paperCardName;
	}
	public String getPaperName() {
		return paperName;
	}
	public void setPaperName(String paperName) {
		this.paperName = paperName;
	}
	public String getInputBeginAt() {
		return inputBeginAt;
	}
	public void setInputBeginAt(String inputBeginAt) {
		this.inputBeginAt = inputBeginAt;
	}
	public String getInputEndAt() {
		return inputEndAt;
	}
	public void setInputEndAt(String inputEndAt) {
		this.inputEndAt = inputEndAt;
	}
	public String getMonths() {
		return months;
	}
	public void setMonths(String months) {
		this.months = months;
	}
	public String getBeginAt() {
		return beginAt;
	}
	public void setBeginAt(String beginAt) {
		this.beginAt = beginAt;
	}
	public String getEndAt() {
		return endAt;
	}
	public void setEndAt(String endAt) {
		this.endAt = endAt;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(String updateAt) {
		this.updateAt = updateAt;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((beginAt == null) ? 0 : beginAt.hashCode());
		result = prime * result
				+ ((billAmount == null) ? 0 : billAmount.hashCode());
		result = prime * result + ((cardNum == null) ? 0 : cardNum.hashCode());
		result = prime * result + ((cardPwd == null) ? 0 : cardPwd.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result + ((endAt == null) ? 0 : endAt.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result
				+ ((inputBeginAt == null) ? 0 : inputBeginAt.hashCode());
		result = prime * result
				+ ((inputEndAt == null) ? 0 : inputEndAt.hashCode());
		result = prime * result + ((memo == null) ? 0 : memo.hashCode());
		result = prime * result + ((months == null) ? 0 : months.hashCode());
		result = prime * result
				+ ((paperCardName == null) ? 0 : paperCardName.hashCode());
		result = prime * result
				+ ((paperName == null) ? 0 : paperName.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result
				+ ((updateAt == null) ? 0 : updateAt.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		KDCard other = (KDCard) obj;
		if (beginAt == null) {
			if (other.beginAt != null)
				return false;
		} else if (!beginAt.equals(other.beginAt))
			return false;
		if (billAmount == null) {
			if (other.billAmount != null)
				return false;
		} else if (!billAmount.equals(other.billAmount))
			return false;
		if (cardNum == null) {
			if (other.cardNum != null)
				return false;
		} else if (!cardNum.equals(other.cardNum))
			return false;
		if (cardPwd == null) {
			if (other.cardPwd != null)
				return false;
		} else if (!cardPwd.equals(other.cardPwd))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (endAt == null) {
			if (other.endAt != null)
				return false;
		} else if (!endAt.equals(other.endAt))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (inputBeginAt == null) {
			if (other.inputBeginAt != null)
				return false;
		} else if (!inputBeginAt.equals(other.inputBeginAt))
			return false;
		if (inputEndAt == null) {
			if (other.inputEndAt != null)
				return false;
		} else if (!inputEndAt.equals(other.inputEndAt))
			return false;
		if (memo == null) {
			if (other.memo != null)
				return false;
		} else if (!memo.equals(other.memo))
			return false;
		if (months == null) {
			if (other.months != null)
				return false;
		} else if (!months.equals(other.months))
			return false;
		if (paperCardName == null) {
			if (other.paperCardName != null)
				return false;
		} else if (!paperCardName.equals(other.paperCardName))
			return false;
		if (paperName == null) {
			if (other.paperName != null)
				return false;
		} else if (!paperName.equals(other.paperName))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (updateAt == null) {
			if (other.updateAt != null)
				return false;
		} else if (!updateAt.equals(other.updateAt))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		return true;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("KDCard [id=").append(id).append(", cardNum=")
				.append(cardNum).append(", cardPwd=").append(cardPwd)
				.append(", status=").append(status).append(", memo=")
				.append(memo).append(", deleteFlag=").append(deleteFlag)
				.append(", billAmount=").append(billAmount)
				.append(", paperCardName=").append(paperCardName)
				.append(", paperName=").append(paperName)
				.append(", inputBeginAt=").append(inputBeginAt)
				.append(", inputEndAt=").append(inputEndAt).append(", months=")
				.append(months).append(", beginAt=").append(beginAt)
				.append(", endAt=").append(endAt).append(", createUser=")
				.append(createUser).append(", createAt=").append(createAt)
				.append(", updateUser=").append(updateUser)
				.append(", updateAt=").append(updateAt).append("]");
		return builder.toString();
	}
}
